both splines were significant for this data set,

ݕൌ2.02 െ0.072 ൈݏሺݔ

൏2݁െ16

൅1.75 ൈݏሺݔ

൏2݁െ16

Fig. 4.17. The GAM model for a 2D data.

ugh GAM can model some nonlinear data, it still belongs to the

linear algorithms because the estimation of the parameters of a

odel follows a similar procedure as that used to construct an OLR

ing LSE. A vector-matrix format of a GAM model is shown

where ܡൌሺݕ, ݕ, ⋯, ݕ stands for a vector as a dependent

for N data points, ઺ൌሺߚ, ߚ, ߚ, ⋯, ߚ stands for a vector of

rameters for K splines of K independent variables and S stands

line function matrix,

ܡ= ܁ൈ઺൅ઽ

(4.28)

pline matrix S which is composed of an intercept vector is shown

܁ൌ൮

1

ܵሺݔଵଵ

ܵሺݔଵ௄

1

ܵሺݔଶଵ

ܵሺݔଶ௄

1

ܵሺݔேଵ

ܵሺݔே௄

(4.29)

E estimation is used, the solution of this model is shown below,